package m.jclecai.com.bean;

import android.text.TextUtils;

import java.util.List;

public class HomeItem {
	private String title;
	private int icon;
	private String desc;
	private String types;
	List<HomeItem> item;
	private String parent;
	/**
	 * type : 福彩3D
	 * logo : sd
	 * highlight : 0
	 * status : 0
	 */

	private String type;
	private String logo;
	private String highlight;
	private String status;


	public HomeItem() {
	}

	public HomeItem(String title, int icon, String desc, String types) {
		this.title = title;
		this.icon = icon;
		this.desc = desc;
		this.types = types;
	}

	public HomeItem(String title, int icon, String desc, String types, List<HomeItem> items) {
		this.title = title;
		this.icon = icon;
		this.desc = desc;
		this.types = types;
		this.item = items;
	}

	public HomeItem(String title, int icon, String desc, String types, String parent) {
		this.title = title;
		this.icon = icon;
		this.desc = desc;
		this.types = types;
		this.parent = parent;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public int getIcon() {
		return icon;
	}

	public void setIcon(int icon) {
		this.icon = icon;
	}

	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

	public List<HomeItem> getItem() {
		return item;
	}

	public void setItem(List<HomeItem> item) {
		this.item = item;
	}

	public String getTypes() {
		return types;
	}

	public void setTypes(String types) {
		this.types = types;
	}

	public String getParent() {
		return parent;
	}

	public void setParent(String parent) {
		this.parent = parent;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
		if(TextUtils.isEmpty(this.title))
		this.title = type;
	}

	public String getLogo() {
		return logo;
	}

	public void setLogo(String logo) {
		this.logo = logo;
		if(TextUtils.isEmpty(this.types))
		this.types = logo;
	}

	public String getHighlight() {
		return highlight;
	}

	public void setHighlight(String highlight) {
		this.highlight = highlight;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}


}
